<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Void</title>
        <style>
            table {
                width: 600px;
                border-collapse: collapse;
            }
            table td {
                border: 1px solid #999999;
                padding: 4px;
            }
        </style>
    </head>
    <body>    
        <h1>Void</h1>
        <c:if test="${VoidUser.login != null}">
            Logged in as <b>${VoidUser.login}</b> &mdash; <a href="account.htm?act=logout">logout</a>; balance: ${VoidUser.user.balance}.
            <br/><br/>
        </c:if>
            
        <c:if test="${flashMessage != null}">
            <h3>${flashMessage}</h3>
        </c:if>
        <jsp:include page="../menus/default.jsp"/>
        <jsp:include page="../pages/${className}/${actionName}.jsp" />
    </body>
</html>
    